package com.example.user.customviewdemo.drawing.bessel;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.example.user.customviewdemo.R;

public class BesselActivity extends AppCompatActivity {

    private MyBesselView mBesselView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_bessel);
        this.mBesselView = (MyBesselView) findViewById(R.id.bessel_view);

        findViewById(R.id.animator_button).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                mBesselView.startAnimator();
            }
        });

    }
}
